package com.javasm.finance.entity;

import lombok.*;

@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@ToString
public class Prod {
    private Integer prodId;
    private String prodName;
    private String prodCategoryName;
    private String parentClass;
    private String prodChannelName;
    private String opeTime;
    private String currencyType;
    private Integer prodState;
    private String anlRate;
    private String subsPeriod;
    private String fundManageRate;
    private String subsRate;
    private String iniInvestAmt;
    private String subsCoMethod;
    private String redCycle;
    private String redStartAmt;
    private String redFee;
    private String lockTime;
    private String managerName;
    private String creatorName;
    private String averNav;
    private String netValBaseDate;
    private String culGrowRate;
    private String creTime;
    private String modTime;

    public Prod(String prodName, String prodCategoryName, String parentClass, String prodChannelName, String opeTime, String currencyType, String anlRate, String subsPeriod, String fundManageRate, String subsRate, String iniInvestAmt, String subsCoMethod, String redCycle, String redStartAmt, String redFee, String lockTime, String managerName, String creatorName) {
        this.prodName = prodName;
        this.prodCategoryName = prodCategoryName;
        this.parentClass = parentClass;
        this.prodChannelName = prodChannelName;
        this.opeTime = opeTime;
        this.currencyType = currencyType;
        this.anlRate = anlRate;
        this.subsPeriod = subsPeriod;
        this.fundManageRate = fundManageRate;
        this.subsRate = subsRate;
        this.iniInvestAmt = iniInvestAmt;
        this.subsCoMethod = subsCoMethod;
        this.redCycle = redCycle;
        this.redStartAmt = redStartAmt;
        this.redFee = redFee;
        this.lockTime = lockTime;
        this.managerName = managerName;
        this.creatorName = creatorName;
    }

    public Prod(Integer prodId,String prodName, String prodCategoryName, String parentClass, String prodChannelName, String opeTime, String currencyType, String anlRate, String subsPeriod, String fundManageRate, String subsRate, String iniInvestAmt, String subsCoMethod, String redCycle, String redStartAmt, String redFee, String lockTime, String managerName) {
        this.prodId=prodId;
        this.prodName = prodName;
        this.prodCategoryName = prodCategoryName;
        this.parentClass = parentClass;
        this.prodChannelName = prodChannelName;
        this.opeTime = opeTime;
        this.currencyType = currencyType;
        this.anlRate = anlRate;
        this.subsPeriod = subsPeriod;
        this.fundManageRate = fundManageRate;
        this.subsRate = subsRate;
        this.iniInvestAmt = iniInvestAmt;
        this.subsCoMethod = subsCoMethod;
        this.redCycle = redCycle;
        this.redStartAmt = redStartAmt;
        this.redFee = redFee;
        this.lockTime = lockTime;
        this.managerName = managerName;
    }

    public Prod(Integer prodId, String averNav, String netValBaseDate, String culGrowRate) {
        this.prodId = prodId;
        this.averNav = averNav;
        this.netValBaseDate = netValBaseDate;
        this.culGrowRate = culGrowRate;
    }
}
